Fixed enum adapter so its updated from program