updated check account and index