docker-compose up -d will only get the image, if you dont have it, if you wish to PULL the newer image, run this first: docker-compose pull, and then docker-compose up -d
ofcourse, it depends on the tag defined in the compose file, i assume its “latest”, then the pull command will do it for you.
If its a version number in the compose file, you need to bump that version number to the required one, and then when you use “up -d”, it will get that image.