updating the priv mapping