updated code mirror