update mah code pls