update for init database