Add method hack for PUT request