added edit functionality, in test
whoops, actually added it now