Forum:Effects such as Medusa Worm/Swarm of Scarabs

I was playing with friends, and they would flip summon Medusa Worm, battle, then flip them back down during their second Main Phase. I find that ruling to be quite questionable considering that you can't change a monster's position twice in one turn. Is it legal?