If you are unable to upgrade litespeed version from old to latest, Please follow the below steps:
------
You need to get into the directory /usr/local/lsws/autoupdate where the old packages exist.
remove all contents from the directory and forcefully update the litespeed version.
# /usr/local/lsws/admin/misc/lsup.sh -f -v 5.1.15 (Release Date >> 4-11-2017 )
------
Done