Closing statements after executing updates.