migrate database to revision 2, add title bar