update of index and login