application: working on update function; it should be combined with create function;