update amis and add partitioning