Remove deprecated express features

And use new syntax