Update bad coding practices