Move update-related commands to updates app
fixing script syntax error