added edit/update tests