modify state and metric page