upgrade slim framework syntax