Update page edit to  ajax