motor updated

disable and enable functions