amt: fix return value of amt_update_handler()