updates to ajax