updated index create to use library method