update missing variables