I went to settings and then About Phone. Subsequently, I checked for updates and after that I tried updating my phone. The file size was around 12 MB after which it proceeded with rebooting the phone.
Unfortunately my phone is not getting rebooted after the software update. It is stuck with the screen showing "Samsun Galaxy S2 GT-19100G". The welcome note with the music screen is also not appearing.