Updated the way modules are displayed and refreshed according to data