updating click events and global css