Update procedure logic