flexibly

adverb
1
in a way that changes to suit new conditions or situations
به‌صورت منعطف, به‌طور انعطاف‌پذیر, به‌شکلی که قابلیت انطباق داشته باشد