Updating with modifications in gradle 2.2