Security updates and code cleaning