added points to database