Fix refreshing of the UI after PUT.