Fixed missing params in create function
Refactor sub resource