css now updates correctly