readme update type safe model part