Effect of degeneracy in the Hubbard model