update main resource data