Added logic to update module list (client-side).