fixed an unexpected type error that occurs for enum parameters with strings; fixed calling update_value() twice
Merge pull request #99 from markusachtelik/enum_fix

fixed an unexpected type error for enum parameters; fixed calling update_value() twice