repo scratchpad

Add update method and tighten up things with regard to the scratchpad needing to be a dict.