updated description
abstracted implementation of obstacle:update
prettier printing