update enemies to use a speed property rather than have the values in the update function