update caas to handle commands