Change request method from PUT to HEAD to conform with new API