Upgrade container with image build on deployment

I have a stack with various containers, some are sourced directly from Dockerhub, whilst others are built during deployment, i.e image: or build: in the docker-compose file. Is there a way that a container created from a build: command can be upgraded? The only option seems to be for direct image replacement using the Upgrade option.

Is there any information on this yet?