Update keys of objects