PUT / POST implementation with some available hooks