update chapter ajax update edit