merges sessions with master