tested SELECT and UPDATE