update preview on every change