Update register.py

On updated objects, create a ModeratedObject if it does not exist. Otherwise there is an error