Updated knex calls