updata interaction with lua