add/update issue fixed