add edit and update actions