added insert into edit table