-ADDED- update ai mechanics