updating resource paths