adding EditService and controller method