update for if_lua