move and uodate layout