The M - \sigma relation in different environments