added bat_update() in bat_init()