update readme and functions