update the rep