It helps to update the user activity agg table data with corrected agg_details and aggregates column. This script is written to update the older records when the agg_details column was introduced. So that it is a one-time script and it is no longer used.