updated database handling, made progress toward new point submission fn