added update query test