add code for user amendment