Add return affected_rows