format update and stats update