add feilds filtering to resource query
update version