added revision input for updating