update dependencies and add GD as a requirement