Fixing error message, and creating/updating needed entity.