added edit.  update not working