Upgrade dependencies and adapt necessary syntax updates