Updating main statement