adding edit - not working