changes on resource plugin