updates enemy and weapon