delete unuse query
refactoring find_or_create
refactoring
refactoring
add unique