add assosiation database and fix name table on main rb