Removed uneeded debug log.
Update method to remove passed in object.