In general, it does not make sense to do it because you will lose the update when you restart the container. Even though it is possible to create an image based on a running container is not really the paradigm behind containers.
What you should do is download an updated image, stop the one you are running and run the new image. If you are correctly mounting persistent storage to keep your configuration and scripts (and basically everything you want to keep) it should be fairly straightforward