spark dependency modify