return the index of the recent update for the sake of convenience
singleton works
package update