Enemy algorithm update