why edit not working?