Local fields and dynamical screening effects on the semiconductors band gap