updating flat view