update before first training

update before first training