added edit form and new api service
made additional updates to edit form