figuring out why i'ts not writing to db