update cache scripts