added update query