update preview picture