update variabel static