fixed update bug when starting game