Upgrading Java dependencies