add ability to update existing instance