Encoding of different environmental features with or without spatial updating