minor fix
apply map function to current document on fragment update