messages and image paths are updated