add upsert command to db adapter and model. Add cassandra data type constants.