added state column in purchase