update bullet and effect