Edited docs accoring to ID