Vector and callback fn essentially works. Still not updating db correctly.