Updated ajax file