Changed render to update