update routes
Update api route