mpc update

Move mpc update inside file exists loop