add query method
update tips