motor logic updated