fix updating slug in page object