send ajax to server and handle saving
send ajax to server and handle saving