update create characters function follow by race type