Update copyright, refomart and optimize imports
Check if Oid is a string in updater instead of selector