update inner html rather than replace