Add common function to make the required dictionary for the existing update_alert method