update LightiPHP
refactor