Update to get range slider working