Updating css elements