Updating status of several lines of code