Fixing the comment and gallery update methods.