updated Admin bundle to remove depricated function call