update product set state = #{state} where id = #{id}