change keys in popup object