Added case-insensivity when updating