Fix for the update route