add edit feature