update and fmt