Updated the edit profile section. It's now similar to the view profile section. Also, SQLForm has been configured to work thereby making the update process easy.