Fix bullet update function.