change param when query DB