updating preview screenshot