add overwriting to usages api

add overwriting to usages api