edit not working