created the update_pledge script