EXTJS: added rest method to allow update of entity.