implemented edit and update actions