Posterior contraction for empirical bayesian approach to inverse problems under non-diagonal assumption