add bulk of transaction block to #update_flag_for_ban to satisfy rubocop ABC size
add bulk of transaction block to #update_flag_for_ban to satisfy rubocop ABC size

TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject,TheOdinProject/theodinproject