Added create method to REST interface.
Added update method to REST interface.