Frame rate code upadated