Implemeted the add asset functionality