fixing some depreciated express
style changes