updating the screenshot