structure update now actually checks for resource capacity and acts accordingly