updated enemy and player classes