updating Mojolicious methods to 4.6 release