Add update method,support where query.