fixed bug in path update
moved behavior funcitonality to mixin