add resource type on server side