add edit event functionatliy