add commit in db connection to refresh cache