security update for analytics and update context