updating ref
updating js