new usage update code for aws