Main and state pages update.