A note on homomorphisms of matrix semigroup