update with keys