new update script for cronjob updating localstorage also