fix update costs