`up` method handles empty string and null parameters