added update to the enemy