update to work with new respond way