modify routes with resources posts