update composer.json and run composer update
remove Deprecated method: getEntityManager, use getManager instead
remove deprecated usage of flash message, use flashBag interface instead