add click 
And change insert to update
may have bugs