Update a path for the screenshot