Re-Engineering of a Black Box for the Purpose of Upgrade and Maintenance