replace reload page with in-place change