update ui default value and default slider position