Update condition of empty page