Updated #update() to use PUT instead of POST [closes #1]