Updating polymer elements classes