Update assossiative memories max and ben