request for update code

this is my first request to update the code.