update enemy's basic movement logic