Updating Session Logic