added comments for dynamic insert/update on entities