Formatted code
Updated succesful update message.
Updated succesful update message.
Added documentation/fixed formatting