Applied ajax post changes to doAddSync