update key lines