Bankbazaar logic to refresh materialized views