Government to amend law