refresh on tab update, connection, refactoring