head class update