Conditional update with map::find in other languages

Change a room assignment only if it is still current