Added update route to API