update routes to use patch.