Revit 2017 Hosted Railings

Hosted railings can follow and conform to changes in the host such as a wall or floor.

source