using updated dictionary