delete & update methods use JSON api now [closes #2] thx @igorhak