Code snippet updates