updating richhtml