Add initialize and refresh by hash