Add ajax for save button