organize sqlite connection and update effected files