updated pins controller and pins/update view