saves new pins to the db