update html object