A method of producing a silicone hydrogel contact lens having a hydrophilic coating thereon, comprising the steps of: (a) polymerizing, in a mold, a polymerizable (or lens forming) composition comprising at least one silicone-containing vinylic monomer or macromer and an azlactone-containing vinylic monomer or macromer, thereby forming a silicone hydrogel contact lens having azlactone moieties covalently attached onto the polymer matrix of the contact lens, wherein the azlactone-containing vinylic monomer or macromer is present in an amount of 0.5% to 5.0% by weight in the polymerizable composition; (b) contacting the contact lens with a solution of an anchoring hydrophilic polymer having pendant primary or secondary amino groups for a period of time sufficient to form a prime coating on the contact lens, wherein the prime coating comprises a layer of the anchoring hydrophilic polymer covalently attached to the surface of the contact lens through one or more covalent linkages each formed between one azlactone moiety at or near the surface of the contact lens and one of the pendant primary or secondary amino groups of the anchoring hydrophilic polymer; (c) applying a top coating on top of the prime coating to form the hydrophilic coating with an increased surface hydrophilicity and/or durability with respect to the prime coating, wherein the top coating comprises at least one layer of a carboxylic acid-containing hydrophilic polymer and/or at least one layer of an azetidinium-containing polymer, wherein the layer of the carboxylic acid-containing hydrophilic polymer is formed by contacting the contact lens having the prime coating thereon with a solution of the carboxylic acid-containing hydrophilic polymer, wherein the layer of the azetidinium-containing polymer is formed by contacting the contact lens having the prime coating thereon and optionally the layer of the carboxylic acid-containing hydrophilic polymer with a solution of the azetidinium-containing polymer, wherein the layer of the carboxylic acid-containing hydrophilic polymer and/or the layer of the azetidinium-containing polymer is chemically and/or physically bound to the layer of the anchoring hydrophilic polymer. (a) polymerizing, in a mold, a polymerizable (or lens forming) composition comprising at least one silicone-containing vinylic monomer or macromer and an azlactone-containing vinylic monomer or macromer, thereby forming a silicone hydrogel contact lens having azlactone moieties covalently attached onto the polymer matrix of the contact lens, wherein the azlactone-containing vinylic monomer or macromer is present in an amount of 0.5% to 5.0% by weight in the polymerizable composition; (b) contacting the contact lens with a solution of an anchoring hydrophilic polymer having pendant primary or secondary amino groups for a period of time sufficient to form a prime coating on the contact lens, wherein the prime coating comprises a layer of the anchoring hydrophilic polymer covalently attached to the surface of the contact lens through one or more covalent linkages each formed between one azlactone moiety at or near the surface of the contact lens and one of the pendant primary or secondary amino groups of the anchoring hydrophilic polymer; (c) applying a top coating on top of the prime coating to form the hydrophilic coating with an increased surface hydrophilicity and/or durability with respect to the prime coating, wherein the top coating comprises at least one layer of a carboxylic acid-containing hydrophilic polymer and/or at least one layer of an azetidinium-containing polymer, wherein the layer of the carboxylic acid-containing hydrophilic polymer is formed by contacting the contact lens having the prime coating thereon with a solution of the carboxylic acid-containing hydrophilic polymer, wherein the layer of the azetidinium-containing polymer is formed by contacting the contact lens having the prime coating thereon and optionally the layer of the carboxylic acid-containing hydrophilic polymer with a solution of the azetidinium-containing polymer, wherein the layer of the carboxylic acid-containing hydrophilic polymer and/or the layer of the azetidinium-containing polymer is chemically and/or physically bound to the layer of the anchoring hydrophilic polymer.