Updates source directory directive.