change hash in pin model to old style using =>