update readme and update methods to perform the requirement