upgrade to SQLAlchemy 0.8.3 and remove workaround
first use of `on duplicate key update` syntax in updating map stats