update resource function names and docs