change sqlite functions