Add populate function into create route