updating preview cont