Add ajax to edit view program