[error] ** (Ecto.NoPrimaryKeyValueError) struct while updating. insert working fine

i dont know what to say. stupid mistake. thank you very much.