add little ajax hook to save values