postdb.js - rename functions