update div contents