added CTX GENTYPE for plot updates
inserted missing semicolon