update toggle complete
update ajax function