Ward identities for correlation functions