Update schema to sourceResource and related changes