Functional integral approach for an extended hubbard model. A graph scheme treatment