update ajax assignments