fixing bug on insert, removing concept of idAttribtue