updating apis layout