fixed bug while updating id