fix add edit function and delete funciton