updates function signature to match with API change in image package