__update route sends 200 ok before exiting program