implemented save action
changed input name format