def update_parameter(store, name, value):
    """Updates the parameter in the database.

    The callsite should convert the value properly
    """
    store.execute(
        """UPDATE parameter_data
                    SET field_value = ?
                    WHERE field_name = ?"""
        , (value, name))
