updated lager version, deprecated types fixed