update domready event