revert 'update' verb to use PUT instead of POST, updated test