update soldier moving logic (not tested at all!!!)