After I give new production command in the Barracks the resource aviability does not change accordingly. It only changes if I refresh the page.