fixed code tags, contition, data frame spelling, update packages