Edit document is now working
Edit document with proper meta