update get commodites method