modify an entry