added operation outcome to create and update - devices controller