Fixed code to edit data frame progtwit