change put routes to patch