updating pinboard to use curl