Updated event listener to use non-depreciated methods, except for data
values which will later be updated, and removed some blocks from
blacklist