add edit to collection when saved from client