upgrade to sqlite 3.8.5 and other stuff