Updated app file to rename database