Update session end time accorningly