Implemented update in SongDAO and fixed various bugs.