Included the auto-populated hashtag when creating a new class
Included updating of hashtag for classes already exist in DB