Update python mode plugin