Update database schema routines