Adding PUT method handling