merge session to index