updates to arrayhash