add device schema config and update functions