ajax logging update