update to be compatible with the new ffmap