adding edit and update specs