update the file adding new functionalities