update fps methode