add 'put/delete' for method.