Replace switch statement
Update express dependency