updated spring configuration