fixed an unexpected type error that occurs for enum parameters with strings; fixed calling update_value() twice
merge enum _fix