update behavior and keys