update spring config and hibernate config