updating with slider fix