Evolution of pellet clouds and cloud structures in magnetically confined plasmas