Density response to central electron heating: theoretical investigations and experimental observations in ASDEX Upgrade