updated some vars