Changed UPDATE to PUT to fix bug.