add version check. only install if version_code is higher.