updating movement.c