Replaced 'method: :put' with 'method: :patch' for all update actions on resources