Added a function to edit pins

The function is called repin.  Might change that 'cuz I think it's a
little bit confusing.