removed empty block in credits_controller#update