update to ajax done, fail, callbacks