clear form when adding new object but updates intentionally left the details