Updated POS with graycie's modification

make sure to update db. new tables were created and some tables were
altered