moving create/update process to theme service