update DOM before requests. on request error reload DOM with actual state