Update compare keys