Update implementation of apply in terms of fmap