Fixed all CRUD functions!!!!!!!!!!!!!!!!!!!! Damn finally!!!!!!!