Added feature of updating the created record